<html>
<head>
   <title>Login</title>
</head>

<body>

	<g:form action="autenticar" >
	
    	<fieldset class="form">
        	<div class="fieldcontain ${hasErrors(bean: endUserInstance, field: 'userName', 'error')} ">
            	<label for="correo">
                	<g:message code="endUser.userName.label" default="User Name" />
                        
                </label>
             	
             	<g:textField name="correo" value="${endUserInstance?.userName}"/>
            </div>
                
            <div class="fieldcontain ${hasErrors(bean: endUserInstance, field: 'password', 'error')} ">
            	<label for="password">
                	<g:message code="endUser.password.label" default="Password" />
                        
                </label>
                    
                <g:field type="password" name="password" value="${endUserInstance?.password}"/>
            </div>
            
        </fieldset>
             
        <fieldset class="buttons">
        	<g:submitButton name="login" class="Usuario" value="Login" />
        </fieldset>
        
	</g:form>

</body>
</html>